package com.zhanghu.backendZray.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 油价
 * </p>
 *
 * @author zhangdong
 * @since 2025-01-19
 */
@Getter
@Setter
@TableName("oil_price")
public class OilPrice extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 拉取日期
     */
    private LocalDate pullDate;

    /**
     * 地区
     */
    private String area;

    /**
     * 98号汽油
     */
    private BigDecimal p98;

    /**
     * 95号汽油
     */
    private BigDecimal p95;

    /**
     * 95号汽油
     */
    private BigDecimal p92;

    /**
     * 0号柴油
     */
    private BigDecimal p0;

    /**
     * -10号柴油
     */
    private BigDecimal p10;

    /**
     * -20号柴油
     */
    private BigDecimal p20;

    /**
     * -35号柴油
     */
    private BigDecimal p35;

}
